<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of menu1
 *
 * @author sonUIT
 */
class menu1  extends CI_Controller{
    public function __construct() {
        parent::__construct();
    }
    public function index()
    {
        $this->load->model("mmenu1");
        $menu=new mmenu1();        
        $data=array();
        $data['menus']=$menu->index();
       // var_dump($data['menus']);
        $this->load->view("menu1_view",$data);
                
    }
}

?>
